<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>碳排放周报</title>
    <style>
        body { font-family: Arial, sans-serif; }
        h1 { color: #2a4d69; }
        table { border-collapse: collapse; width: 100%; margin-top: 20px; }
        th, td { border: 1px solid #ccc; padding: 8px; text-align: center; }
        th { background-color: #f4f4f4; }
        .footer { margin-top: 20px; font-size: 12px; color: gray; }
    </style>
</head>
<body>
    <h1>钢铁厂碳排放周报 - [[${reportDate}]]</h1>
    <p>尊敬的 [[${receiverName}]]：</p>
    <p>以下是本周钢铁产量与碳排放统计分析，请查阅：</p>
    <table>
        <tr>
            <th>日期</th>
            <th>钢材产量 (吨)</th>
            <th>碳排放量 (吨CO₂)</th>
            <th>吨钢碳排放强度 (吨CO₂/吨钢)</th>
        </tr>
        <tr th:each="data : ${emissionData}">
            <td th:text="${data.date}"></td>
            <td th:text="${data.production}"></td>
            <td th:text="${data.emission}"></td>
            <td th:text="${data.intensity}"></td>
        </tr>
    </table>
    <div class="footer">
        本邮件由钢铁厂碳排放监测系统自动生成，请勿直接回复。
    </div>
</body>
</html>